//
// Created by Administrator on 2020/7/16 0016.
//

#ifndef LIBRARY_USER_H
#define LIBRARY_USER_H
#include "string"
using namespace std;
class User
{
protected:
    int m_nID;
public:
    int getMNId() const;

    void setMNId(int mNId);

    const string &getMStrName() const;

    void setMStrName(const string &mStrName);

    const string &getMStrPassword() const;

    void setMStrPassword(const string &mStrPassword);

    int getMNRole() const;

    void setMNRole(int mNRole);

private:
    string m_strName;
    string m_strPassword;
    int m_nRole;//用户角色，1表示管理员，2表示普通用户
public:
    User();
    ~User();
};


#endif //LIBRARY_USER_H
